package com.yqg.protection.controller.dto;

import com.alibaba.excel.annotation.ExcelProperty;
import com.yqg.protection.cover.LocalDateTimeConverter;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * ImportAgreementDto类
 *
 * @author zxf
 * @since 2024-09-11
 */
@Data
public class ImportAgreementDto {

    @ExcelProperty(value = "协议名称(必填)", index = 0)
    @ApiModelProperty("协议名称")
    private String agreementName;

    @ExcelProperty(value = "协议内容(必填)", index = 1)
    @ApiModelProperty("协议内容")
    private String agreementContent;

    @ExcelProperty(value = "操作员id(必填)", index = 2)
    @ApiModelProperty("操作员id")
    private String operatorId;

    @ExcelProperty(value = "联系电话", index = 3)
    @ApiModelProperty("联系电话")
    private String telephone;

    @ExcelProperty(value = "邮箱", index = 4)
    @ApiModelProperty("邮箱")
    private String email;

    @ExcelProperty(value = "添加时间", index = 5, converter = LocalDateTimeConverter.class)
    @ApiModelProperty("添加时间")
    private LocalDateTime createTime;

}
